国产开源一个简易的个人Linux服务器管理面板 |
您所在的位置:网站首页 › wget -t › 国产开源一个简易的个人Linux服务器管理面板 |
EasyNode v1.2 一个简易的个人Linux服务器管理面板(基于Node.js). 地址:https://github.com/chaos-zhu/easynode_web 功能简介多服务器管理; 通过websocket实时更新服务器基本信息: 系统、公网IP、CPU、内存、硬盘、网卡等 基于浏览器解决SSH&SFTP跨端烦恼——Web SSH&Web SFTP 在线编辑文件 安装指南服务端安装依赖Node.js环境占用端口:8082(http端口)、22022(客户端端口)建议使用境外服务器(最好延迟低)安装服务端,客户端信息监控与webssh功能都将以该服务器作为跳板机Docker镜像注意:网速统计功能可能受限,docker网络将使用host模式(与宿主机共享端口,占用: 8082、22022) docker run -d --net=host -v /easynode-server:/easynode-server/server/app/storage chaoszhu/easynode:v1.2.1访问:http://yourip:8082 一键脚本依赖Linux基础命令:curl wget git zip tar;如未安装请先安装:ubuntu/debian: apt install curl wget git zip tar -y centos: yum install curl wget git zip tar -y wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.2/easynode-server-install.sh | bash访问:http://yourip:8082 查看日志:pm2 log easynode-server启动服务:pm2 start easynode-server停止服务:pm2 stop easynode-server删除服务:pm2 delete easynode-server手动部署1.安装Node.js2.安装pm2、安装yarn3.拉取代码:git clone https://github.com/chaos-zhu/easynode.git4.安装依赖:yarn5.启动服务:pm2 start server/app/main.js --name easynode-server6.访问:http://yourip:8082默认登录密码:admin(首次部署完成后请及时修改).客户端安装占用端口:22022X86架构wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.2/easynode-client-install-x86.sh | bashARM架构wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.1/easynode-client-install-arm.sh | bash卸载 wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/chaos-zhu/easynode/v1.2/easynode-client-uninstall.sh | bash查看客户端状态:systemctl status easynode-client 查看客户端日志: journalctl --follow -u easynode-client 查看详细日志:journalctl -xe 服务端v1.1对所有的敏感信息全部加密,所有的v1.0为加密的信息全部失效. 主要影响已存储的ssh密钥. 还原客户端列表: 先备份app\config\storage\host-list.json, 使用一键脚本或者手动部署的同志安装好使用备份文件覆盖\app\storage下的同名文件即可。 由于加密文件调整,使用docker镜像的v1.1一键脚本自己从镜像里把备份抠出来再重新构建镜像. 客户端v1.2未对客户端包进行改动,客户端无需重复安装. 不会备份的在面板重新添加客户端机器即可. 安全与说明本人非专业后端,此服务全凭兴趣开发. 由于知识受限,并不能保证没有漏洞的存在,重要生产服务器最好不要使用此服务!!! 所有服务器信息相关接口已做jwt鉴权, 安全信息均使用加密传输与储存! webssh功能需要的密钥信息全部保存在服务端服务器的app\storage\ssh-record.json中. 在保存ssh密钥信息到服务器储存与传输过程皆已加密,不过最好还是套https使用 更多功能广大网友可以继续挖掘。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |